home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / duchie.arc / DU291US1.EXE / pak / COPYIT.BAT < prev    next >
DOS Batch File  |  1990-04-02  |  3KB  |  117 lines

  1. echo off
  2. : Dutchie 2.91 installation batchfile
  3. : normally started by INSTALL
  4. : SYNTAX : Copyit %1 %2 %3 %4 %5 %6 %7 %8 %9 %10
  5. : Where  %1 = origin diskdrive      (A:)
  6. :        %2 = destination diskdrive (C:)
  7. :        %3 = floppy type flag (F=flop, B= high dens flop, H=harddisk
  8. :        %4 = flag origing type : H = installing from harddisk, other from flop
  9. :        %5 = flag systemtype P = point + = pointplus M = Mailer/Boss
  10. :        %6 = directory original disk
  11. :        %7 = 1 or 2 floppy installation
  12. :        %8 = name original modemfile 
  13. :        %9 = Update of nieuw (U, N);
  14. :        %10= Directory to update
  15. Shift
  16. if %6: == : echo ERROR IN INSTALL 
  17. if %6: == : goto finish
  18. if %2 == F goto floppy
  19. if %2 == B goto floppy
  20. :
  21. :harddisk
  22. :
  23. cd %1\ 
  24. echo Installing fossil driver....
  25. If exist %1X00.sys Echo Fossile driver already there
  26. If not exist %1X00.sys DO_X0291 %1 /w 
  27. cd %1\%9
  28. echo Installing mailer and support files ....
  29. DO_ML291 %1 /w
  30. echo Installing message editor ...
  31. DO_ED291 %1 /w 
  32. copy copyit2.bat %1 >NUL
  33. if %8: == U: goto verder
  34. if %7: == : echo U must install your modem by hand ! 
  35. if not %7: == : echo Installing modem driver ...
  36. if not %7: == : DO_MD291 /r %7 %1 > nul
  37. if not %7: == : copy %1%7 %1dutchie.mdm > nul
  38. :verder
  39. if exist LEESME.NU copy LEESME.NU %1 > nul
  40. if %8: == N: echo installing miscellaneous
  41. if %8: == N: copy dutchie.are %1 > nul
  42. if %8: == N: copy import.bat %1  > nul
  43. if %8: == N: copy export.bat %1  > nul
  44. IF %3==H goto hard1
  45. :
  46. %1
  47. copyit2 %0 %1 %2 %3 %4 %5 %6 %7 %8
  48. :
  49. :hard1
  50. echo Installing nodelist maintenance programs....
  51. DO_NL291 %1 /w
  52. echo Installing utilities ...
  53. DO_UT291 %1 /w 
  54. echo Installing external  packer and scheduler
  55. DO_EX291 %1 /w
  56. echo Installing St-Louis nodelist translator
  57. DO_XL291 %1 /w
  58. echo installing examples
  59. if %8: == N: DO_XA291 %1 /w
  60. echo installing Zmodem module
  61. echo installing Scripter module
  62. echo installing Conferentie manager  
  63. DO_DV291 %1 /w
  64. echo deleting all update archives ...
  65. if exist DO_ML291.EXE del DO_ML291.EXE >nul
  66. if exist DO_ED291.EXE del DO_ED291.EXE >nul
  67. if exist DO_NL291.EXE del DO_NL291.EXE >nul
  68. if exist DO_UT291.EXE del DO_UT291.EXE >nul
  69. if exist DO_EX291.EXE del DO_EX291.EXE >nul
  70. if exist DO_XL291.EXE del DO_XL291.EXE >nul
  71. if exist DO_XA291.EXE del DO_XA291.EXE >nul
  72. if exist DO_DV291.EXE del DO_DV291.EXE >nul
  73. if exist LEESME.NU del LEESME.NU       >nul
  74. goto finish
  75. :
  76. :floppy
  77. rd %1netmsgs
  78. rd %1netfiles
  79. rd %1outbound
  80. rd %1dutconf
  81. cd %1\
  82. echo Installing fossil driver ...
  83. If exist %1X00.sys Echo Fossile driver already there
  84. If not exist %1X00.sys DO_X0291 %1 /w 
  85. copy config.sys %1 >nul
  86. copy autoexec.bat %1>nul
  87. cd %1\dutchie
  88. echo Installing mailer and support files ....
  89. DO_ML291 %1 /w
  90. if %8: == U: goto nogverder
  91. if %7: == : echo You must install your modemfile by hand ! 
  92. if not %7: == : echo Installing modem driver ...
  93. if not %7: == : DO_MD291 /r %7 %1 > nul
  94. if not %7: == : copy %1%7 %1dutchie.mdm > nul
  95. :nogverder
  96. IF %6==1 goto flop1
  97. ECHO .
  98. ECHO Remove Dutchie SYSTEM disk from drive %1
  99. ECHO Place  Dutchie DATA disk   in   drive %1
  100. pause
  101. :flop1
  102. copy copyit2.bat %1 >NUL
  103. if %8: == U: goto weerverder
  104. echo Creating directories....
  105. md %1netfiles
  106. md %1netmsgs
  107. md %1outbound
  108. md %1dutconf
  109. :weerverder
  110. echo installing message editor ...
  111. DO_ED291 %1 /w
  112. %1
  113. copyit2 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 
  114. :finish
  115.  
  116.  
  117.